class DashboardLog < ActiveRecord::Base
  attr_accessible :content, :createdat, :id, :type
  def self.inheritance_column
      nil
  end
  def self.log(content, type='')
    log = DashboardLog.new(:content => content, :type => type, :createdat => Time.now)
    log.save()
  end
end